@import url('https://fonts.googleapis.com/css2?family=DynaPuff:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cal+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Barcode+128+Text&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');

/* FONTS
FONT 1 : DynaPuff
.dynapuff-<uniquifier> {
  font-family: "DynaPuff", system-ui;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}


FONT ": CAL SANS
.cal-sans-regular {
  font-family: "Cal Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.libre-barcode-128-text-regular {
  font-family: "Libre Barcode 128 Text", system-ui;
  font-weight: 400;
  font-style: normal;
}


.pacifico-regular {
  font-family: "Pacifico", cursive;
  font-weight: 400;
  font-style: normal;
}

*/


/* ================================================
   THEME - every colour, corner and shadow lives here.
   change a value here and the whole site follows.
   ================================================ */

:root{
    /* ink + paper */
    --ink: #221630;
    --ink-soft: rgba(34, 22, 48, 0.72);
    --ink-faint: rgba(34, 22, 48, 0.45);
    --paper: #fffbfe;
    --line: rgba(34, 22, 48, 0.10);

    /* brand purples + pinks */
    --purple: #8b4fd1;
    --purple-deep: #5a2b8f;
    --purple-soft: rgba(139, 79, 209, 0.12);
    --pink: #ff5fd0;

    /* corners */
    --r-sm: 0.6em;
    --r-md: 1em;
    --r-lg: 1.75em;
    --r-pill: 999px;

    /* soft layered shadows - no harsh diagonal drops */
    --shadow-sm: 0 1px 2px rgba(34, 22, 48, 0.06), 0 2px 6px rgba(34, 22, 48, 0.06);
    --shadow-md: 0 2px 4px rgba(34, 22, 48, 0.05), 0 8px 20px rgba(34, 22, 48, 0.09);
    --shadow-lg: 0 4px 10px rgba(34, 22, 48, 0.06), 0 18px 40px rgba(34, 22, 48, 0.14);

    /* motion - one easing curve everywhere is what keeps it feeling smooth */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --fast: 0.18s;
    --med: 0.32s;
    --slow: 0.5s;
}


html, body {
    width: 100%;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6em;
}


body{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background-image: linear-gradient(rgba(255, 251, 254, 0.92),rgba(255, 251, 254, 0.96)),url(../GIFFILES/purplestars2.gif);
    background-size: 5em;
    background-attachment: fixed;
}

*{
    box-sizing: border-box;
}

/* body is a flex column, and flex items refuse to shrink past their own
   min content width by default - which a 1000px logo happily sets.
   min-width: 0 lets every section shrink to the phone instead of
   stretching the whole page sideways. */
body > *{
    min-width: 0;
    max-width: 100%;
}

*{
    font-family: "DynaPuff", Arial, Helvetica, sans-serif;
    font-optical-sizing: auto;

}

/* keyboard users get a clear, on brand focus ring */
*:focus-visible{
    outline: 3px solid var(--purple);
    outline-offset: 3px;
    border-radius: var(--r-sm);
}


/* ================================================
   TYPE
   ================================================ */

h1, h2, h3, h4, h5, h6{
    font-family: "Cal Sans", Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.15;
    color: var(--ink);
}

h1{
    font-size: clamp(2.1rem, 6vw, 3.4rem);
    padding: 1.2em 0.6em 0.5em 0.6em;
    font-weight: bold;
    text-align: center;
}

/* small accent bar under every page title */
h1::after{
    content: "";
    display: block;
    width: 3.5em;
    height: 0.14em;
    margin: 0.5em auto 0em auto;
    border-radius: var(--r-pill);
    background: linear-gradient(90deg, var(--purple), var(--pink));
}

h2{
    padding: 1em;
    font-size: clamp(1.4rem, 3.2vw, 2rem);
    font-weight: bold;
}

p{
    line-height: 1.65;
}


a{
    text-decoration: none;
    color: var(--ink);
    transition: color var(--fast) var(--ease),
                background-color var(--fast) var(--ease);
    padding: 1em;
    border-radius: var(--r-sm);
}

a:hover{
    color: var(--purple-deep);
    background: var(--purple-soft);
}


.quote{
    font-family: "Pacifico", cursive, Arial, Helvetica, sans-serif;
    font-size: clamp(1.3rem, 4vw, 2.4rem) !important;
    line-height: 1.4;
    padding: 1.2em 1em;
    color: rgb(255, 235, 255);
    background-image: linear-gradient(rgba(34, 22, 48, 0.82), rgba(34, 22, 48, 0.72)), url(../GIFFILES/purplestars.gif);
    background-size: 6em;
    margin: 1em;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}


.barcode{
    font-family: 'Libre Barcode 128 Text', 'Arial', 'Helvetica', sans-serif;
    font-size: 2em;
    opacity: 0.85;
}


/* ================================================
   SCROLL TO TOP BUTTON
   ================================================ */

.topbutton {
    position: fixed;
    bottom: 1.25em;
    left: 1.25em;
    z-index: 1000;
    opacity: 0;
    transform: translateY(0.75em);
    pointer-events: none;
    padding: 0em;
    transition: opacity var(--med) var(--ease),
                transform var(--med) var(--ease);
    border-radius: 50%;
    background-color: transparent;
}

/* .visible is added by general.js once you have scrolled down a bit */
.topbutton.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.topbutton:hover{
    background-color: transparent;
}

.topbutton img {
    background-color: white;
    display: block;
    padding: 0.35em;
    width: 2.6em;
    height: 2.6em;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    transition: transform var(--fast) var(--ease),
                box-shadow var(--fast) var(--ease);
}

.topbutton img:hover {
    transform: translateY(-2px) scale(1.06);
    box-shadow: var(--shadow-lg);
}


/* ================================================
   NAV BARS
   ================================================ */

.desktopNavBar{
    position: sticky;
    top: 0;
    z-index: 500;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.4em 1.25em;

    color: white;
    background: linear-gradient(rgba(34, 22, 48, 0.55), rgba(34, 22, 48, 0.78)),url(../IMGFILES/bakeryPattern.png);
    background-size: 20em;

    transition: box-shadow var(--med) var(--ease);
}

/* .scrolled is added by general.js so the bar lifts off the page as you scroll */
.desktopNavBar.scrolled,
.mobileNavBar.scrolled{
    box-shadow: var(--shadow-lg);
}

.desktopNavBar ul{
    list-style-type: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0em;
    padding: 0em;
    gap: 0.15em;
}

.desktopNavBar ul li{
    padding: 0em;
}

.desktopNavBar a{
    position: relative;
    display: block;
    padding: 0.75em 0.9em;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95em;
    border-radius: var(--r-pill);
    transition: color var(--fast) var(--ease),
                background-color var(--fast) var(--ease);
}

.desktopNavBar a:hover{
    color: white;
    background: rgba(255, 255, 255, 0.14);
}

/* soft underline that grows out from the middle */
.desktopNavBar a::after{
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 0.3em;
    height: 2px;
    border-radius: var(--r-pill);
    background: var(--pink);
    opacity: 0;
    transition: left var(--med) var(--ease),
                right var(--med) var(--ease),
                opacity var(--med) var(--ease);
}

.desktopNavBar a:hover::after,
.desktopNavBar a.currentPage::after{
    left: 0.9em;
    right: 0.9em;
    opacity: 1;
}

/* .currentPage is added by general.js to whichever page you are on */
.desktopNavBar a.currentPage,
.mobileNavBar a.currentPage{
    color: white;
}

.mobileNavBar{
    display:none;
}

#menu-toggle{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.4em !important;

    background: transparent !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;

    transition: background-color var(--fast) var(--ease),
                transform var(--fast) var(--ease) !important;
}

#menu-toggle:hover{
    background-color: rgba(255, 255, 255, 0.16) !important;
}

#menu-toggle:active{
    transform: scale(0.92) !important;
}

.logo{
    display: block;
    width: 3em;
    height: 3em;
    border-radius: 50%;
    transition: transform var(--med) var(--ease);
}

.desktopNavBar .logo:hover,
.mobileNavBar .nav-header .logo:hover{
    transform: rotate(-6deg) scale(1.05);
}


/* ================================================
   BANNER
   ================================================ */

.banner{
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 1em 0em;

    background-image: linear-gradient(rgba(255, 251, 254, 0.55), rgba(255, 251, 254, 0.92)), url(../GIFFILES/cupcakes.gif);
    background-size: 14em;

    img{
        padding: 0.5em;
        border-radius: 50%;
        max-width: 100%;
        max-height: 34vh;
        width: auto;
        height: auto;
        object-fit: contain;
        display: block;
        filter: drop-shadow(0 10px 24px rgba(34, 22, 48, 0.18));
        transition: transform var(--slow) var(--ease);
    }

    img:hover{
        transform: scale(1.03);
    }
}


/* ================================================
   FOOTER
   ================================================ */

footer{
    margin-top: auto;
    color: white;
    background: linear-gradient(rgba(34, 22, 48, 0.6), rgba(34, 22, 48, 0.85)),url(../IMGFILES/bakeryPattern.png);
    background-size: 20em;
    width: 100%;
    height: auto;
    padding: 3em 2em 2em 2em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0.35em;
    p{
        color: rgba(255, 255, 255, 0.82);
        line-height: 1.7;
    }
    a{
        text-decoration: none;
        color: white;
        font-weight: bold;
        padding: 0.5em 1em;
        border-radius: var(--r-pill);
    }
    a:hover{
        color: white;
        background: rgba(255, 255, 255, 0.14);
    }
    ul{
        padding: 0.75em;
        margin: 0em;
        display: flex;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5em;
    }
    li{
        list-style-type: none;
        padding: 0em;
    }
}


aside{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1em auto 3em auto;
    padding: 2em;
    width: min(30em, 90%);
    gap: 0.5em;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);

    h2{
        padding: 1em 0em;
    }
    p{
        padding: 1em 0em;
    }
    a{
        width: 100%;
        text-align: center;
        padding: 0.9em 1em;
        border-radius: var(--r-md);
        border: 1px solid var(--line);
        transition: background-color var(--fast) var(--ease),
                    transform var(--fast) var(--ease),
                    color var(--fast) var(--ease);
    }
    a:hover{
        transform: translateY(-2px);
    }
}


.gallery{
    .buttons{
        display: grid;
        grid-template-columns: 1fr 5fr 1fr;
        align-items: center;
        justify-items: center;
        width: 100%;
        padding: 1em;
        img{
            width: 100%;
            height: auto;
        }
        button{
            border: none;
            background-color: transparent;
            img{
                width: 80%;
                height: auto;
            }
        }
    }
}


/* ================================================
   IMAGE VIEW STUFF
   ================================================ */

.clickable-image {
    max-width: 300px;
    cursor: zoom-in;
    margin: 10px;
    transition: transform var(--med) var(--ease),
                box-shadow var(--med) var(--ease);
}

.clickable-image:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

/* Fullscreen overlay */
.fullscreen-overlay {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 12, 30, 0.92);
    backdrop-filter: blur(6px);
    z-index: 1000;
    text-align: center;
    padding: 2em;

    opacity: 0;
    transition: opacity var(--med) var(--ease);
}

/* .open is added by imageView.js one frame after display flips, so it can fade in */
.fullscreen-overlay.open {
    opacity: 1;
}

.fullscreen-image {
    max-height: 90%;
    max-width: 90%;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);

    transform: scale(0.96);
    transition: transform var(--med) var(--ease);
}

.fullscreen-overlay.open .fullscreen-image {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    padding: 0em 0.25em;
    border-radius: 50%;
    transition: background-color var(--fast) var(--ease),
                transform var(--fast) var(--ease);
}

.close-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg);
}


/* ================================================
   GALLERY
   ================================================ */

.image-row-2{
    padding: 0em;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;

    /* held to a readable column so the photos sit as tiles
       rather than stretching right across the screen */
    width: min(64em, calc(100% - 2em));
    height: auto;
    margin: 1em auto;
    img{
        border-radius: var(--r-md);
        aspect-ratio: 1 / 1;
        height: 100%;
        width: 100%;
        max-width: none;
        object-fit: cover;
        overflow:hidden;
        margin: 0em;
        box-shadow: var(--shadow-sm);
    }
}

.image-row-3{
    padding: 0em;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1em;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;

    /* held to a readable column so the photos sit as tiles
       rather than stretching right across the screen */
    width: min(64em, calc(100% - 2em));
    height: auto;
    margin: 1em auto;
    img{
        border-radius: var(--r-md);
        aspect-ratio: 1 / 1;
        height: 100%;
        width: 100%;
        max-width: none;
        object-fit: cover;
        overflow:hidden;
        margin: 0em;
        box-shadow: var(--shadow-sm);
    }
}


.image-row-4{
    padding: 0em;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1em;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;

    /* held to a readable column so the photos sit as tiles
       rather than stretching right across the screen */
    width: min(64em, calc(100% - 2em));
    height: auto;
    margin: 1em auto;
    img{
        border-radius: var(--r-md);
        aspect-ratio: 1 / 1;
        height: 100%;
        width: 100%;
        max-width: none;
        object-fit: cover;
        overflow:hidden;
        margin: 0em;
        box-shadow: var(--shadow-sm);
    }
}

/* the rows clip their contents, so zoom the picture not the tile */
.image-row-2 .clickable-image:hover,
.image-row-3 .clickable-image:hover,
.image-row-4 .clickable-image:hover{
    transform: scale(1.06);
}


.animated-rainbow-border {
    border: 0.25em solid transparent;
    background:
        linear-gradient(white, white) padding-box,
        linear-gradient(270deg,
            #ff0080, #7928ca, #ff00d4, #9900ff, #50017b, #ff0080
        ) border-box;
    background-size: 200% 200%;
    background-position: 0% 50%;
    animation: rainbow-border 6s linear infinite;
}

@keyframes rainbow-border {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.order{
    width: min(60em, 92%);
    margin: 0em auto 1em auto;
    padding: 2em;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.94)), url(../GIFFILES/purplestars2.gif);
    background-size: 6em;
    box-shadow: var(--shadow-md);
    p{
        text-align: center;
        padding: 1em;
        font-size: 1.25em;
        color: var(--ink-soft);
    }
    a{
        padding: 0.15em 0.35em;
        color: var(--purple-deep);
        font-weight: bold;
        border-bottom: 2px solid var(--purple-soft);
        transition: border-color var(--fast) var(--ease),
                    color var(--fast) var(--ease);
    }
    a:hover{
        color: var(--pink);
        background: transparent;
        border-color: var(--pink);
    }
}


/* ================================================
   REVEAL ON SCROLL
   general.js adds .reveal, then .shown once it slides into view.
   No JS means no .reveal, so everything simply stays visible.
   ================================================ */

.reveal{
    opacity: 0;
    transform: translateY(1.5em);
    transition: opacity var(--slow) var(--ease),
                transform var(--slow) var(--ease);
}

.reveal.shown{
    opacity: 1;
    transform: none;
}


@media (max-width: 768px) {
    html{
        scroll-padding-top: 5em;
    }

    .desktopNavBar{
        display: none;
    }

    h1,h2,h3,h4,h5,h6{
        text-align: center;
    }

    .mobileNavBar{
        position: sticky;
        top: 0;
        z-index: 500;

        display: block;
        flex-direction: column;
        padding: 0.75em 1.25em !important;

        align-items: center;
        background: linear-gradient(rgba(34, 22, 48, 0.6), rgba(34, 22, 48, 0.82)),url(../IMGFILES/bakeryPattern.png);
        background-size: 20em;
        color: white;

        transition: box-shadow var(--med) var(--ease);
        a{
            padding: 0.6em 1.5em;
            color: rgba(255, 255, 255, 0.9);
            border-radius: var(--r-pill);
        }
        a:hover{
            color: white;
            background: rgba(255, 255, 255, 0.14);
        }
    }

    .mobileNavBar ul{
        list-style-type: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0.5em 0em 0.75em 0em;
        margin: 0em;
        width: 100%;
    }


    .mobileNavBar ul li{
        padding: 0.15em;
        width: 100%;
        text-align: center;

        a{
            display: block;
        }
    }

    .mobileNavBar .nav-header{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-links{
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height var(--med) var(--ease),
                    opacity var(--med) var(--ease);
    }

    .nav-links.active{
        max-height: 22em;
        opacity: 1;
    }

    footer{
        padding: 2.5em 1.5em 2em 1.5em;
        ul{
            display: flex;
            flex-direction: column;
        }
    }

    /* two up, all the same square tile - stacking one big photo
       per row left the page a mile long and the shapes uneven */
    .image-row-2,
    .image-row-3,
    .image-row-4{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75em;
        width: calc(100% - 2em);
        height: auto !important;
        margin: 0.75em auto;
        padding: 0em;
        img{
            aspect-ratio: 1 / 1;
            height: auto;
            width: 100%;
            object-fit: cover;
        }
    }

    .clickable-image{
        max-width: 100%;
    }

    .quote{
        text-align: center !important;
        padding: 1.5em 1em !important;
        margin: 1em 0em !important;
    }
    .order{
        width: auto;
        margin: 0em 1em 1em 1em;
        padding: 1.25em;
        p{
            font-size: 1.1em;
        }
    }

    .fullscreen-overlay{
        padding: 1em;
    }

    .close-btn{
        top: calc(0.6em + env(safe-area-inset-top, 0px));
        right: 0.6em;
        width: 2.2em;
        height: 2.2em;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 32px;
        padding: 0em;
        background-color: rgba(255, 255, 255, 0.18);
    }

    .topbutton{
        bottom: 1em;
        left: 1em;
    }

    .topbutton img{
        width: 2.4em;
        height: 2.4em;
    }
}


/* respect anyone whose device asks for less motion */
@media (prefers-reduced-motion: reduce) {
    html{
        scroll-behavior: auto;
    }

    *, *::before, *::after{
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal{
        opacity: 1;
        transform: none;
    }
}


/* ================================================
   CENTRED BODY COPY
   headings were already centred on mobile - this brings
   the running text in line on every screen size.
   ================================================ */

.welcomeBox p:not(.quote), .about-me p:not(.quote), .order p, .pledge p,
.reviewCard p, aside p{
    /* centre justified - both edges sit flush, and the final line
       centres rather than being stranded on the left */
    text-align: justify;
    text-align-last: center;
    -moz-text-align-last: center;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* footer lines are short labels split by <br>, so they just centre */
footer p, .socialCard p{
    text-align: center;
}


/* ================================================
   "WEBSITE BY ASHAR" CREDIT POP UP
   ================================================ */

.creditTrigger{
    cursor: pointer;
    border-radius: var(--r-sm);
    transition: transform var(--fast) var(--ease),
                opacity var(--fast) var(--ease);
}

.creditTrigger:hover{
    opacity: 1;
    transform: translateY(-2px) scale(1.03);
}

.creditOverlay{
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    z-index: 1100;
    padding: 1.5em;
    background-color: rgba(20, 12, 30, 0.72);
    backdrop-filter: blur(6px);

    opacity: 0;
    transition: opacity var(--med) var(--ease);
}

.creditOverlay.open{
    opacity: 1;
}

.creditCard{
    position: relative;
    width: min(28em, 100%);
    padding: 2.5em 2em 2em 2em;
    text-align: center;

    color: rgb(255, 240, 255);
    background-image: linear-gradient(rgba(34, 22, 48, 0.9), rgba(34, 22, 48, 0.82)), url(../GIFFILES/purplestars.gif);
    background-size: 6em;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);

    /* drops in and settles rather than just appearing */
    opacity: 0;
    transform: translateY(1.5em) scale(0.94);
    transition: opacity var(--med) var(--ease),
                transform var(--med) var(--ease);
    h2{
        padding: 0em 0em 0.5em 0em;
        font-size: 1.5rem;
        color: white;
    }
    p{
        padding: 0.4em 0em;
        color: rgba(255, 240, 255, 0.85);
        line-height: 1.6;
    }
}

.creditOverlay.open .creditCard{
    opacity: 1;
    transform: translateY(0) scale(1);
}

.creditLink{
    display: inline-block;
    margin-top: 1.2em;
    padding: 0.8em 1.8em;
    color: var(--ink);
    font-weight: bold;
    background: linear-gradient(90deg, #ffd6f5, #e6d4ff);
    border-radius: var(--r-pill);
    box-shadow: var(--shadow-md);
    transition: transform var(--med) var(--ease),
                box-shadow var(--med) var(--ease);
}

.creditLink:hover{
    color: var(--ink);
    background: linear-gradient(90deg, #ffc4ef, #dcc2ff);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.creditClose{
    position: absolute;
    top: 0.5em;
    right: 0.6em;
    padding: 0em 0.35em;
    font-size: 1.8rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: color var(--fast) var(--ease),
                background-color var(--fast) var(--ease),
                transform var(--fast) var(--ease);
}

.creditClose:hover{
    color: white;
    background-color: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg);
}


/* ================================================
   A LITTLE MORE SPARKLE
   the accent bar under each page title drifts through
   the brand gradient instead of sitting still.
   ================================================ */

h1::after{
    background: linear-gradient(90deg, var(--purple), var(--pink), var(--purple));
    background-size: 200% 100%;
    animation: accent-drift 5s linear infinite;
}

@keyframes accent-drift{
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
